package com.fishman.zxy.speechdemo.utils;

import android.content.Context;

/**
 * 作者：33242 on 2021/4/15 23:32
 */
public class SrHelp {
    private final String resDir="/sdcard/speech/iflytek/res/sr/";
    private static volatile SrHelp srHelp;
    private Context context;
    private String list="{\n" +
            "\"grm\": [\n" +
            "{\n" +
            "\"dictname\": \"contact\",\n" +
            "\"dictcontant\": [\n" +
            "{ \"name\": \"科大讯飞\", \"id\": 0 },\n" +
            "{ \"name\": \"白雪\", \"id\": 1 },\n" +
            "{ \"name\": \"刘俊峰\", \"id\": 2 },\n" +
            "{ \"name\": \"白亚伟\", \"id\": 3 }\n" +
            "]\n" +
            "},\n" +
            "{\n" +
            "\"dictname\": \"singers\",\n" +
            "\"dictcontant\": [\n" +
            "{ \"name\": \"凤凰传奇\", \"id\": 0 },\n" +
            "{ \"name\": \"那英\", \"id\": 1 },\n" +
            "{ \"name\": \"杨坤\", \"id\": 2 },\n" +
            "{ \"name\": \"S.H.E\", \"id\": 3 }\n" +
            "]\n" +
            "},\n" +
            "{\n" +
            "\"dictname\": \"songs\",\n" +
            "\"dictcontant\": [\n" +
            "{ \"name\": \"恭喜发财\", \"id\": 0 },\n" +
            "{ \"name\": \"偏爱\", \"id\": 1 },\n" +
            "{ \"name\": \"铿锵玫瑰\", \"id\": 2 },\n" +
            "{ \"name\": \"孤枕难眠\", \"id\": 3 }\n" +
            "]\n" +
            "},\n" +
            "{\n" +
            "\"dictname\": \"apps\",\n" +
            "\"dictcontant\": [\n" +
            "{ \"name\": \"讯飞语点\", \"id\": 0 },\n" +
            "{ \"name\": \"愤怒的小鸟\", \"id\": 1 },\n" +
            "{ \"name\": \"浏览器\", \"id\": 2 }\n" +
            "]\n" +
            "},\n" +
            "{\n" +
            "\"dictname\": \"hotwords\",\n" +
            "\"dictcontant\": [\n" +
            "{ \"name\": \"导航到沸腾渔乡\", \"id\": 0 },\n" +
            "{ \"name\": \"我想去沸腾渔乡\", \"id\": 1 },\n" +
            "{ \"name\": \"导航到锦明大厦\", \"id\": 2 },\n" +
            "{ \"name\": \"我想去锦明大厦\", \"id\": 3 },\n" +
            "{ \"name\": \"导航到星华村\", \"id\": 4 },\n" +
            "{ \"name\": \"我想去星华村\", \"id\": 5 },\n" +
            "{ \"name\": \"导航到兴龙会馆\", \"id\": 6 },\n" +
            "{ \"name\": \"我想去兴龙会馆\", \"id\": 7 },\n" +
            "{ \"name\": \"导航到乐嘉商务宾馆\", \"id\": 8 },\n" +
            "{ \"name\": \"我想去乐嘉商务宾馆\", \"id\": 9 },\n" +
            "{ \"name\": \"导航到青松园药房\", \"id\": 10 },\n" +
            "{ \"name\": \"我要去青松园药房\", \"id\": 11 }\n" +
            "]\n" +
            "}\n" +
            "]\n" +
            "}";
    private SrHelp(Context context){
        this.context=context;
    }
    public static SrHelp getInstance(Context context){
        if(srHelp==null){
            synchronized (SrHelp.class){
                if(srHelp==null){
                    srHelp=new SrHelp(context);
                }
            }
        }
        return srHelp;
    }
    public void createSr(){

    }

}
